.screenshots--none {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 3rem;
  padding: 20px;
  box-sizing: border-box;
  font-family: GamePocket;
  font-smooth: never;
  -webkit-font-smoothing: none;
  text-align: center;
  line-height: 45px;
}

.screenshots__button {
  position: absolute;
  background-color: var(--light-colour);
  z-index: 1000;
  top: 50%;
  width: 30px;
  height: 100px;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.2;
  user-select: none;

  &:hover {
    opacity: 0.75;
  }

  &:active {
    opacity: 1;
  }

  &::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    aspect-ratio: 1 / 1;
    border: 2px solid white;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-45deg);
  }
}

.screenshots__button--previous {
  left: 0;
  padding-left: 5px;
}

.screenshots__button--next {
  right: 0;
  padding-right: 5px;

  &::before {
    transform: rotate(135deg);
  }
}

.screenshots__item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 160 / 144;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.screenshots__item--selected {
  border-color: var(--selection-colour);
}

.screenshots__item-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #111;
  image-rendering: pixelated;
}

.screenshots__loading-item {
  height: 190px !important;
  aspect-ratio: 160 / 144;
}

.screenshots__item-info {
  background-color: var(--info-colour);
  padding: 5px;
  font-size: 0.875rem;
  position: absolute;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(80%);
  transition: opacity 0.25s linear, transform 0.2s ease-out;
}

.screenshots__item:hover .screenshots__item-info {
  opacity: 0.8;
  transform: translateY(0);
}

.screenshots__item-info-line {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
